Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EL2 booting using slbounce #52

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Add EL2 booting using slbounce #52

merged 1 commit into from
Jan 14, 2025

Conversation

kuruczgy
Copy link
Owner

@kuruczgy kuruczgy commented Nov 27, 2024

TODOs:

  • Automatically copy slbounce.efi to /EFI/systemd/drivers/slbounceaa64.efi
  • Add the el2 specialization to this repo
  • Hide the above two behind a config option

@kuruczgy
Copy link
Owner Author

I expect this to take a couple weeks before I flesh everything out, but I am already putting the PR here if someone wants to play around with it. My current setup with this:

  1. First, an EL2 specialization, with the devicetree overlay and extra kernel param needed:
specialisation.el2.configuration = {
  hardware.deviceTree.overlays = [{
    name = "x1e-el2";
    dtboFile = "${pkgs.slbounce}/dtbo/x1e-el2.dtbo";
  }];

  boot.kernelParams = [ "id_aa64mmfr0.ecv=1" ];
};
  1. Manually copy slbounce.efi to /EFI/systemd/drivers/slbounceaa64.efi on the ESP.
  2. Copy tcblaunch.exe (from C:\Windows\System32\tcblaunch.exe) to the root of the ESP.

@kuruczgy kuruczgy force-pushed the pr/slbounce branch 4 times, most recently from 68cdd7f to 4ae1aa1 Compare December 18, 2024 15:20
@kuruczgy kuruczgy force-pushed the pr/slbounce branch 2 times, most recently from 84f8757 to 7eaeb5b Compare January 11, 2025 22:45
@kuruczgy kuruczgy marked this pull request as ready for review January 12, 2025 01:56
@kuruczgy
Copy link
Owner Author

Reviewed

@kuruczgy kuruczgy merged commit d91cb3f into main Jan 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant